<!DOCTYPE html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>报关单</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <!--<meta name="screen-orientation" content="portrait">-->
    <!--<meta name="x5-orientation" content="portrait">-->
    <meta name="format-detection" content="telephone=no">
    <meta name="author" content="nop">
    <meta name="generator" content="wkhtmltopdf">
    <meta name="description" content="">
    <meta name="viewport"
        content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0">
    <script src="https://bookjs-statics.oss-cn-hangzhou.aliyuncs.com/static/js/polyfill.min.js"></script>
    <script src="https://bookjs-statics.oss-cn-hangzhou.aliyuncs.com/static/js/jquery.min.js"></script>
    <script src="https://bookjs-statics.oss-cn-hangzhou.aliyuncs.com/static/js/lodash.min.js"></script>
    <script
        src="https://bookjs-statics.oss-cn-hangzhou.aliyuncs.com/static/js/bookjs/latest/bookjs-eazy.min.js"></script>
</head>
<style>
    :root {
        --labelFontSize: 10px;
        --contextFontSize: 12px;
        --borderColor: #666;
        --mainFontColor: #000;
        --secondFontColor: #333;
        --tdHeight: 36px;
        --headerHeight: 60px;
    }

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    *:before,
    *:after {
        box-sizing: border-box;
    }

    html,
    body {
        margin: 0;
        padding: 0;
        position: relative;
    }

    .relative {
        position: relative;
    }

    .absolute {
        position: absolute;
    }

    .left {
        float: left;
    }

    .right {
        float: right;
    }

    .txt-right {
        text-align: right;
    }

    .txt-center {
        text-align: center;
    }

    .txt-left {
        text-align: left;
    }

    .txt-bold {
        font-weight: 900 !important;
    }

    .txt-normal {
        font-weight: 400 !important;
    }

    .clearfix:after {
        content: "";
        display: block;
        width: 0;
        height: 0;
        clear: both;
    }

    .flex {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .flex-1 {
        flex: 1;
    }

    .center {
        text-align: center;
    }

    .color-000 {
        color: #000;
    }

    .color-333 {
        color: #333;
    }

    .color-666 {
        color: #666;
    }

    .no-border {
        border: none !important;
    }

    .no-border-top {
        border-top: none !important;
    }

    .no-border-bottom {
        border-bottom: none !important;
    }

    .no-border-left {
        border-left: none !important;
    }

    .no-border-right {
        border-right: none !important;
    }

    /* 文本默认超出不换行，直接隐藏，如果需要超出换行则手动添加 txt-wrap */
    .txt-wrap {
        white-space: normal !important;
    }

    .declare-wrapper {
        overflow: hidden;
        padding: 36px 48px 0px;
        color: var(--mainFontColor);
    }

    .first-declare-wrapper {
        height: 200mm;
    }

    .first-declare-wrapper .table {
        height: calc(100% - 90px);
        display: flex;
        flex-direction: column;
    }

    .first-declare-wrapper .table .tr-5-1 {
        flex: 2;
    }

    .first-declare-wrapper .table .tr-5-2 {
        flex: 3;
    }

    .declare-header {
        width: 100%;
        height: var(--headerHeight);
        overflow: hidden;
    }

    .declare-header .logo,
    .declare-code {
        top: 0;
    }

    .declare-header .logo img {
        width: 60px;
        height: 60px;
    }

    .declare-header .qt-code {
        width: 260px;
        height: 44px;
        vertical-align: top;
    }

    .declare-header .qr-code {
        width: 60px;
        height: 60px;
        vertical-align: top;
    }

    .title {
        font-size: 18px;
        line-height: var(--headerHeight);
    }

    .declare-code {
        right: 0;
    }

    .sub-title {
        font-size: var(--labelFontSize);
        transform-origin: 0 0;
        transform: scale(0.9);
        font-weight: 100;
        line-height: 20px;
        color: var(--secondFontColor);
    }

    .table {
        transform-origin: 0 0;
        border: 2px solid var(--borderColor);
        width: 100%;
    }

    .tr {
        display: flex;
    }

    .tr .td:nth-child(1) {
        border-left: 0 !important;
    }

    .tr-1 .td {
        border-top: 0 !important;
    }

    /* 商品表头中间对齐 */
    .tr-6 {
        text-align: center;
    }
    .second-declare-wrapper .tr-6 .td{
        border-top: 2px solid var(--borderColor);
    }
    .second-declare-wrapper .tr-6 .td:nth-child(1){
        border-left: 2px solid var(--borderColor)!important;
    }
    .second-declare-wrapper .tr-6 .td:nth-last-child(1){
        border-right: 2px solid var(--borderColor)!important;
        flex:1;
    }
    .second-declare-wrapper .table{
        border-top:none;
    }
    .less_3{
        border-top:2px solid  var(--borderColor);
    }

    /* 商品列对齐方式 */
    .good-tr .td {
        text-align: right;
    }

    /* 商品列项号中间对齐 */
    .good-tr .td:nth-child(1) {
        text-align: center;
    }

    /* 商品名称左对齐 */
    .good-tr .td:nth-child(3) {
        text-align: left;
    }

    /* 商品边框 */
    .tr-6 .td,
    .good-tr .td {
        border-left: 0 !important;
    }

    .tr-1 .td:nth-child(1) {
        width: 290px;
    }

    .tr-1 .td:nth-child(2) {
        width: 170px;
    }

    .tr-1 .td:nth-child(3) {
        width: 180px;
    }

    .tr-1 .td:nth-child(4) {
        width: 160px;
    }

    .tr-1 .td:nth-child(5) {
        width: 222px;
    }

    .tr-2 .td:nth-child(1) {
        width: 290px;
    }

    .tr-2 .td:nth-child(2) {
        width: 170px;
    }

    .tr-2 .td:nth-child(3) {
        width: 180px;
    }

    .tr-2 .td:nth-child(4) {
        width: 382px;
    }

    .tr-3 .td:nth-child(1) {
        width: 290px;
    }

    .tr-3 .td:nth-child(2) {
        width: 170px;
    }

    .tr-3 .td:nth-child(3) {
        width: 180px;
    }

    .tr-3 .td:nth-child(4) {
        width: 382px;
    }

    .tr-4 .td:nth-child(1) {
        width: 290px;
    }

    .tr-4 .td:nth-child(2) {
        width: 170px;
    }

    .tr-4 .td:nth-child(3) {
        width: 180px;
    }

    .tr-4 .td:nth-child(4) {
        width: 160px;
    }

    .tr-4 .td:nth-child(5) {
        width: 222px;
    }

    .tr-5 .td:nth-child(1) {
        width: 290px;
    }

    .tr-5 .td:nth-child(2) {
        width: 60px;
    }

    .tr-5 .td:nth-child(3) {
        width: 110px;
    }

    .tr-5 .td:nth-child(4) {
        width: 108px;
    }

    .tr-5 .td:nth-child(5) {
        width: 72px;
    }

    .tr-5 .td:nth-child(6) {
        width: 128px;
    }

    .tr-5 .td:nth-child(7) {
        width: 128px;
    }

    .tr-5 .td:nth-child(8) {
        width: 126px;
    }

    .tr-5-1 .td,
    .tr-5-2 .td,
    .tr-9-1 .td {
        width: 1024px;
    }

    .tr-6 .td:nth-child(1) {
        width: 30px;
    }

    .tr-6 .td:nth-child(2) {
        width: 60px;
    }

    .tr-6 .td:nth-child(3) {
        width: 292px;
    }

    .tr-6 .td:nth-child(4) {
        width: 130px;
    }

    .tr-6 .td:nth-child(5) {
        width: 110px;
    }

    .tr-6 .td:nth-child(6) {
        width: 90px;
    }

    .tr-6 .td:nth-child(7) {
        width: 100px;
    }

    .tr-6 .td:nth-child(8) {
        width: 150px;
    }

    .tr-6 .td:nth-child(9) {
        width: 60px;
    }

    .tr-7 .td:nth-child(1) {
        width: 220px;
    }

    .tr-7 .td:nth-child(2) {
        width: 146px;
    }

    .tr-7 .td:nth-child(3) {
        width: 192px;
    }

    .tr-7 .td:nth-child(4) {
        width: 166px;
    }

    .tr-7 .td:nth-child(5) {
        width: 170px;
    }

    .tr-7 .td:nth-child(6) {
        width: 128px;
    }

    .tr-8 .td:nth-child(1) {
        width: 110px;
    }

    .tr-8 .td:nth-child(2) {
        width: 170px;
    }

    .tr-8 .td:nth-child(3) {
        width: 150px;
    }

    .tr-8 .td:nth-child(4) {
        width: 272px;
    }

    .tr-8 .td:nth-child(5) {
        width: 320px;
    }

    .tr-9 .td:nth-child(1) {
        width: 600px;
    }

    .tr-9 .td:nth-child(2) {
        width: 102px;
    }

    .tr-9 .td:nth-child(3) {
        width: 320px;
    }

    .good-tr .td:nth-child(1) {
        width: 30px;
    }

    .good-tr .td:nth-child(2) {
        width: 78px;
    }

    .good-tr .td:nth-child(3) {
        width: 276px;
    }

    .good-tr .td:nth-child(4) {
        width: 130px;
    }

    .good-tr .td:nth-child(5) {
        width: 110px;
    }

    .good-tr .td:nth-child(6) {
        width: 90px;
    }

    .good-tr .td:nth-child(7) {
        width: 100px;
    }

    .good-tr .td:nth-child(8) {
        width: 150px;
    }

    .good-tr .td:nth-child(9) {
        width: 60px;
    }

    .table .td {
        min-height: var(--tdHeight);
        font-weight: 100;
        border-top: 1px solid var(--borderColor);
        border-left: 1px solid var(--borderColor);
        line-height: 17px;
        box-sizing: border-box;
    }

    .table .single-td-height .td {
        height: 20px !important;
        min-height: 20px !important;
    }

    .table .single-td-height .cell-title {
        line-height: 20px;
    }

    .table .seal-td-height .td {
        height: 50px;
    }

    .table .seal-td-height .cell-title {
        line-height: 20px;
    }

    .table .good-tr .cell-title {
        line-height: 15px;
    }

    .table .good-tr .cell-context {
        line-height: 15px;
    }

    .table .cell {
        position: static;
        width: 100%;
        height: 100%;
        padding: 0px 4px;
        overflow: hidden;
    }

    .table .cell-title {
        color: var(--mainFontColor);
        font-size: var(--labelFontSize);
        transform-origin: 0 0;
        transform: scale(0.9);
        font-weight: 900;
        white-space: nowrap;
    }

    .table .cell-context {
        color: var(--secondFontColor);
        font-size: var(--contextFontSize);
        font-weight: 400;
        word-break: break-all;
    }

    .last-td {
        border-bottom: 1px solid var(--borderColor);
        border-right: 1px solid var(--borderColor);
    }
</style>

<#if (goodInfos??)>
    <#assign goodSize=goodInfos?size />
    <#else>
        <#assign goodSize=0 />
</#if>
<#assign firtPageSize=3 />
<#assign pagesize=13 />
<#if (goodSize<=firtPageSize)>
    <#assign loopsize=firtPageSize-1 />
    <#else>
        <#assign loopsize=goodSize-1 />
</#if>

<body>
    <script>
        bookConfig = {
            "pageSize": "ISO_A4",
            "orientation": "landscape",
            "padding": "0mm 0mm 8mm 0mm",
            "simpleCatalog": false,
            "simplePageNum": {
                "pageBegin": 0,
                "pageEnd": -1
            },
            "toolBar": {
                "serverPrint": false,
                "webPrint": false,
                "saveHtml": false
            },
            "start": true
        };
    </script>
    <div id="content-box" style="display: none">
            <div class="declare-wrapper first-declare-wrapper">
                <div class="declare-header relative">
                    <div class="logo absolute">
                        <img src=""
                             alt="">
                    </div>
                    <h3 class="title flex-1 center">中华人民共和国海关出口货物报关单</h3>
                    <div class="declare-code absolute">
                        <!-- 测试条形码 <img class="qt-code" src="./qt-code.png" alt=""> -->
                        <!-- 测试二维码 <img class="qr-code" src="./qr-code.png" alt=""> -->
                        <img class="qt-code" src="data:image/png;base64,${barImageBase64}" alt="">
                        <img class="qr-code" src="data:image/png;base64,${qrImageBase64}" alt="">
                    </div>
                </div>
                <div class="delcare-sub-header flex">
                    <div class="sub-title flex-1 sub-title-1 color-000 txt-bold">预录入编号：
                        <span class="txt-normal"></span>
                    </div>
                    <div class="sub-title flex-1 sub-title-2 color-000 txt-bold">海关编号：

                    </div>
                    <div class="sub-title flex-1 sub-title-3">(
                        <span class="txt-normal">${entryId!""}</span>)
                    </div>
                    <div class="sub-title flex-1 sub-title-4">仅供核对用</div>
                    <!--            <div class="sub-title  sub-title-5">页码/页数：1/2</div>-->
                </div>
                <!-- 10 + 7 + 7 + 7 + 8 === 39 -->
                <div class="table">
                    <div class="tr tr-1">
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">境内发货人
                                    <span class="txt-normal">
                                    <#if (tradeCompany.unCode)??>(${tradeCompany.unCode})</#if>
                                    <#if (tradeCompany.hsCode)??&&type==1>(${tradeCompany.hsCode})</#if>
                                </span>
                                </p>
                                <p class="cell-context">
                                    <#if (tradeCompany.name)??>${tradeCompany.name}</#if>
                                </p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">出境关别
                                    <span class="txt-normal">
                                    <#if (iePort.portCode)??>(${iePort.portCode})</#if>
                                    </span>
                                </p>
                                <p class="cell-context">
                                    <#if (iePort.portName)??>${iePort.portName}</#if>
                                </p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">出口日期</p>
                                <p class="cell-context"></p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">申报日期</p>
                                <p class="cell-context">${declareTime!""}</p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">备案号</p>
                                <p class="cell-context">${manualNo!""}</p>
                            </div>
                        </div>
                    </div>

                    <div class="tr tr-2">
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">境外收货人
                                    <span class="txt-normal">
                                    <#if (consigneeCompany.hsCode)??>(${consigneeCompany.hsCode})</#if>
                                    </span>
                                </p>
                                <p class="cell-context">
                                    <#if (consigneeCompany.name)??>${consigneeCompany.name}</#if>
                                </p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">运输方式
                                    <span class="txt-normal">(2)</span>
                                </p>
                                <p class="cell-context">${tsfMode.name!""}</p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">运输工具名称及航次号</p>
                                <p class="cell-context">${shipName!""}/${voyage!""}</p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">提运单号</p>
                                <p class="cell-context">${billNo!""} </p>
                            </div>
                        </div>
                    </div>

                    <div class="tr tr-3">
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">生产销售单位
                                    <span class="txt-normal">
                                    <#if (ownerCompany.unCode)??>(${ownerCompany.unCode})</#if>
                                    <#if (ownerCompany.hsCode)??&&type==1>(${ownerCompany.hsCode})</#if>
                                </span>
                                </p>
                                <p class="cell-context">
                                    <#if (ownerCompany.name)??&&type==1>${ownerCompany.name}</#if>
                                </p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">监管方式
                                    <span class="txt-normal">
                                    <#if (tradeMode.code)??>(${tradeMode.code})</#if>
                                    </span>
                                </p>
                                <p class="cell-context">
                                    <#if (tradeMode.name)??>${tradeMode.name}</#if>
                                </p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">征免性质
                                    <span class="txt-normal">
                                    <#if (cutMode.code)??>(${cutMode.code})</#if>
                                    </span>
                                </p>
                                <p class="cell-context">
                                    <#if (cutMode.spName)??>${cutMode.spName}</#if>
                                </p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">许可证号</p>
                                <p class="cell-context">${licenseNo!""}</p>
                            </div>
                        </div>
                    </div>

                    <div class="tr tr-4">
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">合同协议号</p>
                                <p class="cell-context">${contrNo!""}</p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">贸易国（地区）
                                    <span class="txt-normal">
                                    <#if (tradeArea.code)??>(${tradeArea.code})</#if>
                                    </span>
                                </p>
                                <p class="cell-context">
                                    <#if (tradeArea.name)??>(${tradeArea.name})</#if>
                                </p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">运抵国（地区）
                                    <span class="txt-normal">
                                    <#if (tradeCountry.code)??>(${tradeCountry.code})</#if>
                                    </span>
                                </p>
                                <p class="cell-context">
                                    <#if (tradeCountry.name)??>${tradeCountry.name}</#if>
                                </p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">指运港
                                    <span class="txt-normal">
                                    <#if (destinationPort.code)??>(${destinationPort.code})</#if>
                                    </span>
                                </p>
                                <p class="cell-context">
                                    <#if (destinationPort.name)??>${destinationPort.name}</#if>
                                </p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">离境口岸
                                    <span class="txt-normal">
                                    <#if (dspPort.code)??>(${dspPort.code})</#if>
                                    </span>
                                </p>
                                <p class="cell-context">
                                    <#if (dspPort.name)??>${dspPort.name}</#if>
                                </p>
                            </div>
                        </div>
                    </div>

                    <div class="tr tr-5">
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">包装种类
                                    <span class="txt-normal">
                                    <#if (wrapType.code)??>(${wrapType.code})</#if>
                                    </span>
                                </p>
                                <p class="cell-context">
                                    <#if (wrapType.name)??>${wrapType.name}</#if>
                                </p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">件数</p>
                                <p class="cell-context">${packNo!""}</p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">毛重(千克)</p>
                                <p class="cell-context">${grossWet!""}</p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">净重(千克)</p>
                                <p class="cell-context">${netWt!""}</p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">成交方式
                                    <span class="txt-normal">
                                    <#if (transMode.code)??>(${transMode.code})</#if>
                                    </span>
                                </p>
                                <p class="cell-context">
                                    <#if (transMode.name)??>${transMode.name}</#if>
                                </p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">运费</p>
                                <p class="cell-context">${feeRateInfo!""}</p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">保费</p>
                                <p class="cell-context">${insRateInfo!""}</p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">杂费</p>
                                <p class="cell-context">${otherRateInfo!""}</p>
                            </div>
                        </div>
                    </div>

                    <div class="tr tr-5-1">
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">随附单证及编号</p>
                                <p class="cell-context">${licenseTypeInfo!""}</p>
                            </div>
                        </div>
                    </div>

                    <div class="tr tr-5-2">
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title">标记唛码及备注</p>
                                <p class="cell-context">${(markNo)!''} 备注:${(notes)!''}</p>
                            </div>
                        </div>
                    </div>
                    <div class="tr tr-6 single-td-height">
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title txt-center">项号</p>
                                <p class="cell-context"></p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title txt-center">商品编号</p>
                                <p class="cell-context"></p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title txt-center">商品名称及规格型号</p>
                                <p class="cell-context"></p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title txt-center">数量及单位</p>
                                <p class="cell-context"></p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title txt-center">单价/总价/币制</p>
                                <p class="cell-context"></p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title txt-center">原产国（地区）</p>
                                <p class="cell-context"></p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title txt-center">最终目的国（地区）</p>
                                <p class="cell-context"></p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title txt-center">境内货源地</p>
                                <p class="cell-context"></p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title txt-center">征免</p>
                                <p class="cell-context"></p>
                            </div>
                        </div>
                    </div>
                    <#list 0..firtPageSize-1 as i>
                    <#if (i<goodSize)>
                    <!--数据行 begin-->
                    <div class="tr good-tr">
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title"></p>
                                <p class="cell-context">${(goodInfos[i].index)!''}</p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title"></p>
                                <p class="cell-context">${(goodInfos[i].codeTs)!''}</p>
                                <p class="cell-context "> ${(goodInfos[i].contrItem)!''} </p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title"></p>
                                <p class="cell-context">${(goodInfos[i].prodCnNm)!''}</p>
                                <p class="cell-context">${(goodInfos[i].goodModel)!''}</p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title"></p>
                                <p class="cell-context ">
                                    ${(goodInfos[i].goodQty)!''}${(goodInfos[i].goodUnit.name)!''}</p>
                                <p class="cell-context">
                                    ${(goodInfos[i].firstQty)!''}${(goodInfos[i].firstUnit.name)!''}</p>
                                <p class="cell-context">
                                    ${(goodInfos[i].secondQty)!''}${(goodInfos[i].secondUnit.name)!''} </p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title"></p>
                                <p class="cell-context"> ${(goodInfos[i].declPrice)!''}
                                </p>
                                <p class="cell-context"> ${(goodInfos[i].declTotal)!''}</p>
                                <p class="cell-context"> ${(goodInfos[i].tradeCurr.cnName)!''}</p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title"></p>
                                <p class="cell-context">${(goodInfos[i].originCountry.name)!''}
                                </p>
                                <p class="cell-context">
                                    <#if (goodInfos[i].originCountry.code)??>${goodInfos[i].originCountry.code}
                                </#if>
                                </p>
                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title"></p>
                                <p class="cell-context">${(goodInfos[i].destinationCountry.name)!''} </p>
                                <p class="cell-context">
                                    <#if (goodInfos[i].destinationCountry.code)??>
                                    (${goodInfos[i].destinationCountry.code})</#if>
                                </p>

                            </div>
                        </div>
                        <div class="td">
                            <div class="cell">
                                <p class="cell-title"></p>
                                <p class="cell-context">
                                    <#if (goodInfos[i].districtCode.code)??>(${goodInfos[i].districtCode.code})
                                </#if>
                                <#if (goodInfos[i].districtCode.name)??>${goodInfos[i].districtCode.name}</#if>
                            </p>
                        </div>
                    </div>
                    <div class="td">
                        <div class="cell">
                            <p class="cell-title"></p>
                            <p class="cell-context">${(goodInfos[i].dutyMode.name)!''}</p>
                            <p class="cell-context">
                                <#if (goodInfos[i].dutyMode.code)??>(${goodInfos[i].dutyMode.code})</#if>
                            </p>
                        </div>
                    </div>
                </div>
                <!--数据行 end-->
                <#else>
                <!--空行 begin-->
                <div class="tr good-tr">
                    <div class="td">
                        <div class="cell">
                            <p class="cell-title"></p>
                            <p class="cell-context"> </p>
                        </div>
                    </div>
                    <div class="td">
                        <div class="cell">
                            <p class="cell-title"></p>
                            <p class="cell-context">
                            </p>
                        </div>
                    </div>
                    <div class="td">
                        <div class="cell">
                            <p class="cell-title"></p>
                            <p class="cell-context"> </p>
                        </div>
                    </div>
                    <div class="td">
                        <div class="cell">
                            <p class="cell-title"></p>
                            <p class="cell-context"> </p>
                        </div>
                    </div>
                    <div class="td">
                        <div class="cell">
                            <p class="cell-title"></p>
                            <p class="cell-context">
                            </p>
                        </div>
                    </div>
                    <div class="td">
                        <div class="cell">
                            <p class="cell-title"></p>
                            <p class="cell-context"></p>
                        </div>
                    </div>
                    <div class="td">
                        <div class="cell">
                            <p class="cell-title"></p>
                            <p class="cell-context"></p>
                        </div>
                    </div>
                    <div class="td">
                        <div class="cell">
                            <p class="cell-title"></p>
                            <p class="cell-context"></p>
                        </div>
                    </div>
                    <div class="td">
                        <div class="cell">
                            <p class="cell-title"></p>
                            <p class="cell-context"></p>
                        </div>
                    </div>
                </div>
                <!--空行 end-->
            </#if>
        </#list>
        <!--第一页表尾 begin-->
        <div class="tr tr-7 single-td-height">
            <div class="td">
                <div class="cell">
                    <p class="cell-title">特殊关系确认:
                        <span class="txt-normal">${(promise1)!''}</span>
                    </p>
                    <p class="cell-context"></p>
                </div>
            </div>
            <div class="td no-border-left">
                <div class="cell">
                    <p class="cell-title">价格影响确认:
                        <span class="txt-normal">${(promise2)!''}</span>
                    </p>
                    <p class="cell-context"></p>
                </div>
            </div>
            <div class="td no-border-left">
                <div class="cell">
                    <p class="cell-title">支付特许权使用费确认:
                        <span class="txt-normal">${(promise3)!''}</span>
                    </p>
                    <p class="cell-context"></p>
                </div>
            </div>
            <div class="td no-border-left">
                <div class="cell">
                    <p class="cell-title">公式定价确认:
                        <span class="txt-normal">${(promise4)!''}</span>
                    </p>
                    <p class="cell-context"></p>
                </div>
            </div>
            <div class="td no-border-left">
                <div class="cell">
                    <p class="cell-title">暂定价格确认:
                        <span class="txt-normal">${(promise5)!''}</span>
                    </p>
                    <p class="cell-context"></p>
                </div>
            </div>
            <div class="td no-border-left">
                <div class="cell">
                    <p class="cell-title">自报自缴:
                        <span class="txt-normal">${(businessType1)!''}</span>
                    </p>
                    <p class="cell-context"></p>
                </div>
            </div>
        </div>

        <div class="tr tr-8 single-td-height">
            <div class="td">
                <div class="cell">
                    <p class="cell-title">报关人员</p>
                    <p class="cell-context"></p>
                </div>
            </div>
            <div class="td no-border-left">
                <div class="cell">
                    <p class="cell-title">报关人员证号</p>
                    <p class="cell-context"></p>
                </div>
            </div>
            <div class="td no-border-left">
                <div class="cell">
                    <p class="cell-title">电话</p>
                    <p class="cell-context"></p>
                </div>
            </div>
            <div class="td no-border-left">
                <div class="cell">
                    <p class="cell-title">兹申明对以上内容承担如实申报、依法纳税之法律责任</p>
                    <p class="cell-context"></p>
                </div>
            </div>
            <div class="td">
                <div class="cell">
                    <p class="cell-title">海关批注及签章</p>
                    <p class="cell-context"></p>
                </div>
            </div>
        </div>

        <div class="tr tr-9 seal-td-height">
            <div class="td no-border-top">
                <div class="cell">
                    <p class="cell-title">申报单位
                        <span class="cell-context">
                                    <#if (declareCompany.unCode)??>(${declareCompany.unCode})</#if>
                        <#if (declareCompany.companyName)??>${declareCompany.companyName}</#if>
                    </span>
                    </p>
                    <p class="cell-context"></p>
                </div>
            </div>
            <div class="td no-border-right no-border-left no-border-top">
                <div class="cell">
                    <p class="cell-title">申报单位（签章）</p>
                    <p class="cell-context"></p>
                </div>
            </div>
            <div class="td no-border-top">
                <div class="cell">
                    <p class="cell-title"></p>
                    <p class="cell-context"></p>
                </div>
            </div>
        </div>

    </div>
    </div>

    <div data-op-type="new-page"></div>
    <div data-op-type="mix-box">
        <div class="declare-wrapper second-declare-wrapper">
            <div class="table nop-fill-box">
            <div data-op-type="block" class="tr tr-9-1 less_3" style="height: 52px;">
                <div class="td">
                    <div class="cell">
                        <p class="cell-context">
                            ${(customerReMark)!''}
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </div>
</div>
</body>

</html>